package com.taotao.sso.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 展示注册和登录页面的controller
 * @author created by wq
 * @date   Sep 6, 2017---10:22:43 AM
 * @return
 * @throws Exception<br/>
 *==========History========== <br/>
 * taotao-sso-web Sep 6, 2017
 */
@Controller
public class PageController {

	@RequestMapping("/page/register")
	public String showRegister() throws Exception{
		return "register";
	}
	
	@RequestMapping("/page/login")
	public String showLogin() throws Exception{
		return "login";
	}
}
